using System;

using System.Windows.Forms;
using System.Collections;

namespace IPAMS
{
    /// <summary>
    /// This is a user control which contains tab pages with all the project tables
    /// </summary>
    public partial class TablesEditor : UserControl
    {
        //public event EventHandler<EventArgs<string>> StocksFileSelected;
        //public event EventHandler<EventArgs<bool>> GetCurrencies;

        /// <summary>
        /// Initializes a new instance of the <see cref="TablesEditor"/> class.
        /// </summary>
        public TablesEditor()
        {
            InitializeComponent();
        }

        //private void buttonBrowseStocks_Click(object sender, EventArgs e)
        //{
        //    OpenFileDialog ofd = new OpenFileDialog();
        //    ofd.Filter = "Comma Seperated Values (*.csv)|*.csv";
        //    ofd.Title = "Select Stocks data file...";
        //    ofd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
        //    DialogResult dr = ofd.ShowDialog();
        //    if(dr == DialogResult.OK)
        //    {
        //        if(StocksFileSelected != null)
        //        {
        //            StocksFileSelected(this, new EventArgs<string>(ofd.FileName));
        //        }
        //    }
        //}

        //private void comboBoxCurrencies_DropDown(object sender, EventArgs e)
        //{
        //    if(GetCurrencies != null)
        //    {
        //        GetCurrencies(this, new EventArgs<bool>(true));
        //    }
        //}

      

        
    }
}
